package com.ruoyi.dynamic.service;

import java.util.List;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.dynamic.domain.UserDynamicLike;

/**
 * 动态点赞Service接口
 * 
 * @author DEREK
 * @date 2023-06-19
 */
public interface IUserDynamicLikeService extends IService<UserDynamicLike>
{
    /**
     * 查询动态点赞
     * 
     * @param id 动态点赞主键
     * @return 动态点赞
     */
    public UserDynamicLike selectUserDynamicLikeById(Long id);

    /**
     * 查询动态点赞列表
     * 
     * @param userDynamicLike 动态点赞
     * @return 动态点赞集合
     */
    public List<UserDynamicLike> selectUserDynamicLikeList(UserDynamicLike userDynamicLike);

    /**
     * 新增动态点赞
     * 
     * @param userDynamicLike 动态点赞
     * @return 结果
     */
    public int insertUserDynamicLike(UserDynamicLike userDynamicLike);

    /**
     * 修改动态点赞
     * 
     * @param userDynamicLike 动态点赞
     * @return 结果
     */
    public int updateUserDynamicLike(UserDynamicLike userDynamicLike);

    /**
     * 批量删除动态点赞
     * 
     * @param ids 需要删除的动态点赞主键集合
     * @return 结果
     */
    public int deleteUserDynamicLikeByIds(Long[] ids);

    /**
     * 删除动态点赞信息
     * 
     * @param id 动态点赞主键
     * @return 结果
     */
    public int deleteUserDynamicLikeById(Long id);
}
